package ae.pcfc.cldos.online.common.clddb.domain.manager.provider;

import org.springframework.transaction.annotation.Transactional;

import ae.pcfc.cldos.online.common.clddb.dao.SequencesDAO;
import ae.pcfc.cldos.online.common.clddb.domain.manager.SequencesDOM;

/**
 * 
 * @author arosa
 *
 */
public class SequencesDOMImpl implements SequencesDOM {

	private SequencesDAO sequencesDAO;
	
	public void setSequencesDAO(SequencesDAO sequencesDAO) {
		this.sequencesDAO = sequencesDAO;
	}
	
	@Transactional
	public Long getNextFNPTransactionId() {
		return sequencesDAO.getNextFNPTransactionId();
	}
}
